<?php

declare (strict_types=1);
namespace App\Model;

use Hyperf\DbConnection\Model\Model;
/**
 * @property int $id 好友ID
 * @property string $nickname 微信昵称
 * @property string $bookname 用户唯一备注
 * @property string $mobile 手机号码
 * @property int $sex 性别；0未知 1女 2男
 * @property \Carbon\Carbon $created_at 添加好友日期
 * @property \Carbon\Carbon $updated_at 更新日期
 * @property string $path 头像路径
 * @property string $userId 用户编号
 * @property string $remark 好友备注
 * @property int $addTime 添加时间
 * @property int $status 好友状态 1正常 2删除 3拉黑
 * @property int $account_id 服务账号id
 */
class WeworkFriend extends Model
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'wework_friend';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['id', 'nickname', 'bookname', 'mobile', 'sex', 'created_at', 'updated_at', 'path', 'userId', 'remark', 'addTime', 'status', 'account_id'];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'sex' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'addTime' => 'integer', 'status' => 'integer', 'account_id' => 'integer'];
}